<%
	String username = request.getParameter("username");
	String password = request.getParameter("password");

    if (username.trim().equals("admin") && password.trim().equals("admin")) 
    {
		session.setAttribute("username", username);
		response.sendRedirect("login.jsp");
	}
	else 
	{
		out.println("Bledny login lub haslo!");
	}
 %>
